import turtle

t = turtle.Turtle()
t.pensize(5)

# 绘制数字5
t.penup()
t.goto(-50, 50)
t.pendown()
t.forward(50)
t.backward(50)
t.right(90)
t.forward(50)
t.left(90)
t.forward(50)
t.right(90)
t.forward(50)
t.right(90)
t.forward(50)

t.hideturtle()
turtle.done()